home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / libgrx / events / makefile.gcc < prev    next >
Encoding:
Makefile  |  1993-12-06  |  609 b   |  37 lines

  1. !if $d(DEBUG)
  2. GDEBUG= -g -DDEBUG=1
  3. !endif
  4.  
  5. GCCOPT= -O -Wall $(GDEBUG)
  6.  
  7. all:    ../lib/libqueue.a evtst386.exe
  8.  
  9. evtst386: evtest.c ../lib/libqueue.a
  10.     gcc -g -o evtst386 $(GCCOPT) -L../lib evtest.c -lqueue
  11.  
  12. evtst386.exe: evtest.c ../lib/libqueue.a
  13.     gcc -o evtst386 $(GCCOPT) -L../lib evtest.c -lqueue
  14.     strip evtst386
  15.     aout2exe evtst386
  16.     del evtst386
  17.  
  18. ../lib/libqueue.a: nextevnt.o event32.o
  19.     -del ..\lib\libqueue.a
  20.     ar -rvs ../lib/libqueue.a nextevnt.o event32.o
  21.  
  22.  
  23. #
  24. # Dependencies:
  25. #
  26. nextevnt.o: eventque.h
  27.  
  28. event32.o:  eventque.h
  29.  
  30.  
  31. #
  32. # Rules:
  33. #
  34. .c.o:
  35.     gcc -c $(GCCOPT) $*.c
  36.  
  37.